export function tip(params) {
	let data = {
		mask: false,
		icon: 'none',
		...params,
		success() {},
		fail() {

		}
	}
	uni.showToast(data)
	return new Promise((resolve, reject) => {
		setTimeout(() => {
			resolve()
		}, 1500)
	})

}
export function tip2(params) {
	let data = {
		mask: false,
		icon: 'none',
		...params,
		success() {},
		fail() {

		}
	}
	uni.showToast(data)
	return false

}
export function loading() {
	uni.showLoading({
		title: '加载中',
		mask: true
	});
}
export function loaded() {
	uni.hideLoading();
}
